package com.dlg.user.dao.mysql.mappers.system;

import com.dlg.user.dao.mysql.annotation.OddJobRepository;
import com.dlg.user.domain.system.OjDictionary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by zhangjinxia on 2017/8/7.
 */
@OddJobRepository
public interface OjDictionaryMapper {

    void save(@Param("dictionary") OjDictionary ojDictionary);

    List<OjDictionary> findByGroupCode(@Param("groupCode") String groupCode, @Param("specialIdentification") Short specialIdentification);

    OjDictionary findByDataCode(@Param("dataCode") String dataCode);
}
